#ifndef __EXCEL_CONSTANT_H__
#define __EXCEL_CONSTANT_H__

enum XlCorruptLoad {
	xlNormalLoad, xlRepairFile, xlExtractData
};
enum XlCmdType {
	xlCmdCube = 1, xlCmdSql, xlCmdTable, xlCmdDefault, xlCmdList, xlCmdTableCollection, xlCmdExcel, xlCmdDAX
};
enum XlImportDataAs {
	xlQueryTable, xlPivotTableReport
};
enum XlTextParsingType {
	xlDelimited = 1, xlFixedWidth
};
enum XlXmlLoadOption {
	xlXmlLoadPromptUser, xlXmlLoadOpenXml, xlXmlLoadImportToList, xlXmlLoadMapXml
};
enum XlHAlign {
	xlHAlignRight = -4152, xlHAlignLeft = -4131, xlHAlignJustify = -4130, xlHAlignDistributed = -4117, xlHAlignCenter = -4108, xlHAlignGeneral = 1, xlHAlignFill = 5, xlHAlignCenterAcrossSelection = 7,
};
enum XlVAlign {
	xlVAlignBottom = -4107, xlVAlignCenter = -4108, xlVAlignDistributed = -4117, xlVAlignJustify = -4130, xlVAlignTop = -4160
};
enum XlAutoFillType {
	xlFillDefault, xlFillCopy, xlFillSeries, xlFillFormats, xlFillValues, xlFillDays, xlFillWeekdays, xlFillMonths, xlFillYears, xlLinearTrend, xlGrowthTrend, xlFlashFill
};
enum XlRangeValueDataType {
	xlRangeValueDefault=10, xlRangeValueXMLSpreadsheet, xlRangeValueMSPersistXML
};
enum XlSheetType {
	xlChart=-4109, xlDialogSheet=-4116, xlExcel4IntlMacroSheet=4, xlExcel4MacroSheet=3, xlWorksheet=-4167
};
enum XlFillWith {
	xlFillWithAll=-4104, xlFillWithContents=2, xlFillWithFormats=-4122
};
enum XlWindowState {
	xlMaximized = -4137, xlMinimized = -4140, xlNormal = -4143
};
enum XlFileFormat {
	xlWorkbookNormal = -4143,xlCurrentPlatformText = -4158,xlDBF4 = 11,xlWJ2WD1 = 14,xlWK3 = 15,xlExcel2 = 16,xlTemplate8 = 17,xlTemplate = 17,xlAddIn8 = 18,xlAddIn = 18,xlTextMac = 19,xlSYLK = 2,xlTextWindows = 20,xlTextMSDOS = 21,xlCSVMac = 22,xlCSVWindows = 23,xlCSVMSDOS = 24,xlIntlMacro = 25,xlIntlAddIn = 26,xlExcel2FarEast = 27,xlWorks2FarEast = 28,xlExcel3 = 29,xlWK1FMT = 30,xlWK1ALL = 31,xlWK3FM3 = 32,xlExcel4 = 33,xlWQ1 = 34,xlExcel4Workbook = 35,xlTextPrinter = 36,xlWK4 = 38,xlExcel7 = 39,xlExcel5 = 39,xlWKS = 4,xlWJ3 = 40,xlWJ3FJ3 = 41,xlUnicodeText = 42,xlExcel9795 = 43,xlHtml = 44,xlWebArchive = 45,xlXMLSpreadsheet = 46,xlWK1 = 5,xlExcel12 = 50,xlWorkbookDefault = 51,xlOpenXMLWorkbook = 51,xlOpenXMLWorkbookMacroEnabled = 52,xlOpenXMLTemplateMacroEnabled = 53,xlOpenXMLTemplate = 54,xlOpenXMLAddIn = 55,xlExcel8 = 56,xlCSV = 6,xlOpenDocumentSpreadsheet = 60,xlCSVUTF8 = 62,xlDBF2 = 7,xlDBF3 = 8,xlDIF = 9
};
enum XlSaveAsAccessMode {
	xlNoChange=1,xlShared,xlExclusive
};
enum XlSaveConflictResolution{
	xlUserResolution = 1,xlLocalSessionChanges,xlOtherSessionChanges
};
enum XlFindLookIn {
	xlFormulas = -4123, xlComments = -4144, xlValues = -4163, xlCommentsThreaded = -4184
};
enum XlLineStyle {
	xlLineStyleNone = -4142, xlDouble = -4119, xlDot = -4118, xlDash = -4115, xlContinuous = 1, xlDashDot = 4, xlDashDotDot = 5, xlSlantDashDot = 13
};
enum XlBorderWeight {
	xlMedium = -4138, xlHairline = 1, xlThin = 2, xlThick = 4
};
enum XlColorIndex{
	xlColorIndexAutomatic = -4105, xlColorIndexNone = -4142
};
enum XlBordersIndex {
	xlDiagonalDown=5, xlDiagonalUp, xlEdgeLeft, xlEdgeTop, xlEdgeBottom, xlEdgeRight, xlInsideVertical, xlInsideHorizontal
}; 
enum XlUnderlineStyle {
	xlUnderlineStyleNone = -4142, xlUnderlineStyleDouble = -4119, xlUnderlineStyleSingle = 2, xlUnderlineStyleSingleAccounting = 4, xlUnderlineStyleDoubleAccounting = 5
};
enum XlChartType {
	xlXYScatter = -4169, xlRadar = -4151, xlDoughnut = -4120, xl3DPie = -4102, xl3DLine = -4101, xl3DColumn = -4100, xl3DArea = -4098, xlArea = 1, xlLine = 4, xlPie = 5, xlBubble = 15, xlColumnClustered = 51, xlColumnStacked = 52, xlColumnStacked100 = 53, xl3DColumnClustered = 54, xl3DColumnStacked = 55, xl3DColumnStacked100 = 56, xlBarClustered = 57, xlBarStacked = 58, xlBarStacked100 = 59, xl3DBarClustered = 60, xl3DBarStacked = 61, xl3DBarStacked100 = 62, xlLineStacked = 63, xlLineStacked100 = 64, xlLineMarkers = 65, xlLineMarkersStacked = 66, xlLineMarkersStacked100 = 67, xlPieOfPie = 68, xlPieExploded = 69, xl3DPieExploded = 70, xlBarOfPie = 71, xlXYScatterSmooth = 72, xlXYScatterSmoothNoMarkers = 73, xlXYScatterLines = 74, xlXYScatterLinesNoMarkers = 75, xlAreaStacked = 76, xlAreaStacked100 = 77, xl3DAreaStacked = 78, xl3DAreaStacked100 = 79, xlDoughnutExploded = 80, xlRadarMarkers = 81, xlRadarFilled = 82, xlSurface = 83, xlSurfaceWireframe = 84, xlSurfaceTopView = 85, xlSurfaceTopViewWireframe = 86, xlBubble3DEffect = 87, xlStockHLC = 88, xlStockOHLC = 89, xlStockVHLC = 90, xlStockVOHLC = 91, xlCylinderColClustered = 92, xlCylinderColStacked = 93, xlCylinderColStacked100 = 94, xlCylinderBarClustered = 95, xlCylinderBarStacked = 96, xlCylinderBarStacked100 = 97, xlCylinderCol = 98, xlConeColClustered = 99, xlConeColStacked = 100, xlConeColStacked100 = 101, xlConeBarClustered = 102, xlConeBarStacked = 103, xlConeBarStacked100 = 104, xlConeCol = 105, xlPyramidColClustered = 106, xlPyramidColStacked = 107, xlPyramidColStacked100 = 108, xlPyramidBarClustered = 109, xlPyramidBarStacked = 110, xlPyramidBarStacked100 = 111, xlPyramidCol = 112, xlRegionMap = 140
}; 
enum XlDeleteShiftDirection {
	xlShiftUp = -4162, xlShiftToLeft = -4159
};
enum XlInsertShiftDirection {
	xlShiftToRight = -4161, xlShiftDown = -4121
};
enum XlPaperSize {
	xlPaperNothing=0,xlPaperLetter1, xlPaperLetterSmall, xlPaperTabloid, xlPaperLedger, xlPaperLegal, xlPaperStatement, xlPaperExecutive, xlPaperA3, xlPaperA4, xlPaperA4Small, xlPaperA5, xlPaperB4, xlPaperB5, xlPaperFolio, xlPaperQuarto, xlPaper10x14, xlPaper11x17, xlPaperNote, xlPaperEnvelope9, xlPaperEnvelope10, xlPaperEnvelope11, xlPaperEnvelope12, xlPaperEnvelope14, xlPaperCsheet, xlPaperDsheet, xlPaperEsheet, xlPaperEnvelopeDL, xlPaperEnvelopeC5, xlPaperEnvelopeC3, xlPaperEnvelopeC4, xlPaperEnvelopeC6, xlPaperEnvelopeC65, xlPaperEnvelopeB4, xlPaperEnvelopeB5, xlPaperEnvelopeB6, xlPaperEnvelopeItaly, xlPaperEnvelopeMonarch, xlPaperEnvelopePersonal, xlPaperFanfoldUS, xlPaperFanfoldStdGerman, xlPaperFanfoldLegalGerman, xlPaperUser=256
};
enum XlPasteType {
	xlPasteValues = -4163, xlPasteComments = -4144, xlPasteFormulas = -4123, xlPasteFormats = -4122, xlPasteAll = -4104, xlPasteValidation = 6, xlPasteAllExceptBorders = 7, xlPasteColumnWidths = 8, xlPasteFormulasAndNumberFormats = 11, xlPasteValuesAndNumberFormats = 12, xlPasteAllUsingSourceTheme = 13, xlPasteAllMergingConditionalFormats = 14
};
enum XlPasteSpecialOperation {
	xlPasteSpecialOperationNone = -4142, xlPasteSpecialOperationAdd = 2, xlPasteSpecialOperationSubtract, xlPasteSpecialOperationMultiply, xlPasteSpecialOperationDivide
};

#ifndef __VOL_OFFICE_H__
#define __VOL_OFFICE_H__

enum VBComponentType {
	vbext_ct_StdModule=1, vbext_ct_ClassModule, vbext_ct_MSForm, vbext_ct_ActiveXDesigner=11, vbext_ct_Document=100
};

enum XlPlatform {
	xlMacintosh = 1, xlMSDOS, xlWindows, windows874 = 874, iso2022jp = 932, gb2312 = 936, ksc56011987 = 949, big5 = 950, windows1250 = 1250, windows1251 = 1251, windows1252 = 1252, windows1253 = 1253, windows1254 = 1254, windows1255 = 1255, windows1256 = 1256, windows1257 = 1257, windows1258 = 1258, ASCII = 20127, koi8r = 20866, koi8u = 21866, iso88591 = 28591, iso88592 = 28592, iso88593 = 28593, iso88594 = 28594, iso88595 = 28595, iso88596 = 28596, iso88597 = 28597, iso88599 = 28599, iso885915 = 28605, iso88598i = 38598, iso2022jp2 = 50220, csiso2022jp = 50221, eucjp = 51932, euckr = 51949, hzgb2312 = 52936, word_utf7 = 65000, word_utf8 = 65001, excel_utf7 = 65000, excel_utf8 = 65001
};

enum MsoAutoShapeType {
	msoShapeMixed=-2, msoShapeRectangle=1, msoShapeParallelogram, msoShapeTrapezoid, msoShapeDiamond, msoShapeRoundedRectangle, msoShapeOctagon, msoShapeIsoscelesTriangle, msoShapeRightTriangle, msoShapeOval, msoShapeHexagon, msoShapeCross, msoShapeRegularPentagon, msoShapeCan, msoShapeCube, msoShapeBevel, msoShapeFoldedCorner, msoShapeSmileyFace, msoShapeDonut, msoShapeNoSymbol, msoShapeBlockArc, msoShapeHeart, msoShapeLightningBolt, msoShapeSun, msoShapeMoon, msoShapeArc, msoShapeDoubleBracket, msoShapeDoubleBrace, msoShapePlaque, msoShapeLeftBracket, msoShapeRightBracket, msoShapeLeftBrace, msoShapeRightBrace, msoShapeRightArrow, msoShapeLeftArrow, msoShapeUpArrow, msoShapeDownArrow, msoShapeLeftRightArrow, msoShapeUpDownArrow, msoShapeQuadArrow, msoShapeLeftRightUpArrow, msoShapeBentArrow, msoShapeUTurnArrow, msoShapeLeftUpArrow, msoShapeBentUpArrow, msoShapeCurvedRightArrow, msoShapeCurvedLeftArrow, msoShapeCurvedUpArrow, msoShapeCurvedDownArrow, msoShapeStripedRightArrow, msoShapeNotchedRightArrow, msoShapePentagon, msoShapeChevron, msoShapeRightArrowCallout, msoShapeLeftArrowCallout, msoShapeUpArrowCallout, msoShapeDownArrowCallout, msoShapeLeftRightArrowCallout, msoShapeUpDownArrowCallout, msoShapeQuadArrowCallout, msoShapeCircularArrow, msoShapeFlowchartProcess, msoShapeFlowchartAlternateProcess, msoShapeFlowchartDecision, msoShapeFlowchartData, msoShapeFlowchartPredefinedProcess, msoShapeFlowchartInternalStorage, msoShapeFlowchartDocument, msoShapeFlowchartMultidocument, msoShapeFlowchartTerminator, msoShapeFlowchartPreparation, msoShapeFlowchartManualInput, msoShapeFlowchartManualOperation, msoShapeFlowchartConnector, msoShapeFlowchartOffpageConnector, msoShapeFlowchartCard, msoShapeFlowchartPunchedTape, msoShapeFlowchartSummingJunction, msoShapeFlowchartOr, msoShapeFlowchartCollate, msoShapeFlowchartSort, msoShapeFlowchartExtract, msoShapeFlowchartMerge, msoShapeFlowchartStoredData, msoShapeFlowchartDelay, msoShapeFlowchartSequentialAccessStorage, msoShapeFlowchartDiskTicDisk, msoShapeFlowchartDirectAccessStorage, msoShapeFlowchartDisplay, msoShapeExplosion1, msoShapeExplosion2, msoShape4pointStar, msoShape5pointStar, msoShape8pointStar, msoShape16pointStar, msoShape24pointStar, msoShape32pointStar, msoShapeUpRibbon, msoShapeDownRibbon, msoShapeCurvedUpRibbon, msoShapeCurvedDownRibbon, msoShapeVerticalScroll, msoShapeHorizontalScroll, msoShapeWave, msoShapeDoubleWave, msoShapeRectangularCallout, msoShapeRoundedRectangularCallout, msoShapeOvalCallout, msoShapeCloudCallout, msoShapeLineCallout1, msoShapeLineCallout2, msoShapeLineCallout3, msoShapeLineCallout4, msoShapeLineCallout1AccentBar, msoShapeLineCallout2AccentBar, msoShapeLineCallout3AccentBar, msoShapeLineCallout4AccentBar, msoShapeLineCallout1NoBorder, msoShapeLineCallout2NoBorder, msoShapeLineCallout3NoBorder, msoShapeLineCallout4NoBorder, msoShapeLineCallout1BorderandAccentBar, msoShapeLineCallout2BorderandAccentBar, msoShapeLineCallout3BorderandAccentBar, msoShapeLineCallout4BorderandAccentBar, msoShapeActionButtonCustom, msoShapeActionButtonHome, msoShapeActionButtonHelp, msoShapeActionButtonInformation, msoShapeActionButtonBackorPrevious, msoShapeActionButtonForwardorNext, msoShapeActionButtonBeginning, msoShapeActionButtonEnd, msoShapeActionButtonReturn, msoShapeActionButtonDocument, msoShapeActionButtonSound, msoShapeActionButtonMovie, msoShapeBalloon, msoShapeNotPrimitive, msoShapeFlowchartOfflineStorage, msoShapeLeftRightRibbon, msoShapeDiagonalStripe, msoShapePie, msoShapeNonIsoscelesTrapezoid, msoShapeDecagon, msoShapeHeptagon, msoShapeDodecagon, msoShape6pointStar, msoShape7pointStar, msoShape10pointStar, msoShape12pointStar, msoShapeRound1Rectangle, msoShapeRound2SameRectangle, msoShapeSnipRoundRectangle, msoShapeSnip1Rectangle, msoShapeSnip2SameRectangle, msoShapeSnip2DiagRectangle, msoShapeRound2DiagRectangle, msoShapeFrame, msoShapeHalfFrame, msoShapeTear, msoShapeChord, msoShapeCorner, msoShapeMathPlus, msoShapeMathMinus, msoShapeMathMultiply, msoShapeMathDivide, msoShapeMathEqual, msoShapeMathNotEqual, msoShapeCornerTabs, msoShapeSquareTabs, msoShapePlaqueTabs, msoShapeGear6, msoShapeGear9, msoShapeFunnel, msoShapePieWedge, msoShapeLeftCircularArrow, msoShapeLeftRightCircularArrow, msoShapeSwooshArrow, msoShapeCloud, msoShapeChartX, msoShapeChartStar, msoShapeChartPlus, msoShapeLineInverse
};

enum MsoZOrderCmd {
	msoBringToFront, msoSendToBack, msoBringForward, msoSendBackward, msoBringInFrontOfText, msoSendBehindText
};

enum MsoTextOrientation {
	msoTextOrientationMixed = -2, msoTextOrientationHorizontal = 1, msoTextOrientationUpward = 2, msoTextOrientationDownward = 3, msoTextOrientationVerticalFarEast = 4, msoTextOrientationVertical = 5, msoTextOrientationHorizontalRotatedFarEast = 6
};

enum MsoShapeType {
	msoShapeTypeMixed=-2, msoAutoShape=1, msoCallout, msoChart, msoComment, msoFreeform, msoGroup, msoEmbeddedOLEObject, msoFormControl, msoLine, msoLinkedOLEObject, msoLinkedPicture, msoOLEControlObject, msoPicture, msoPlaceholder, msoTextEffect, msoMedia, msoTextBox, msoScriptAnchor, msoTable, msoCanvas, msoDiagram, msoInk, msoInkComment, msoIgxGraphic, msoSlicer, msoWebVideo, msoContentApp, msoGraphic, msoLinkedGraphic, mso3DModel, msoLinked3DModel
};

enum MsoPatternType {
	msoPatternMixed = -2, msoPattern5Percent = 1, msoPattern10Percent = 2, msoPattern20Percent = 3, msoPattern25Percent = 4, msoPattern30Percent = 5, msoPattern40Percent = 6, msoPattern50Percent = 7, msoPattern60Percent = 8, msoPattern70Percent = 9, msoPattern75Percent = 10, msoPattern80Percent = 11, msoPattern90Percent = 12, msoPatternDarkHorizontal = 13, msoPatternDarkVertical = 14, msoPatternDarkDownwardDiagonal = 15, msoPatternDarkUpwardDiagonal = 16, msoPatternSmallCheckerBoard = 17, msoPatternTrellis = 18, msoPatternLightHorizontal = 19, msoPatternLightVertical = 20, msoPatternLightDownwardDiagonal = 21, msoPatternLightUpwardDiagonal = 22, msoPatternSmallGrid = 23, msoPatternDottedDiamond = 24, msoPatternWideDownwardDiagonal = 25, msoPatternWideUpwardDiagonal = 26, msoPatternDashedUpwardDiagonal = 27, msoPatternDashedDownwardDiagonal = 28, msoPatternNarrowVertical = 29, msoPatternNarrowHorizontal = 30, msoPatternDashedVertical = 31, msoPatternDashedHorizontal = 32, msoPatternLargeConftern = 33, msoPatternLargeGrid = 34, msoPatternHorizontalBһ = 35, msoPatternLargeCheckerBoard = 36, msoPatternSmallConftern = 37, msoPatternZigZag = 38, msoPatternSolidDiamond = 39, msoPatternDiagonalBagon = 40, msoPatternOutlinedDiamond = 41, msoPatternPlaid = 42, msoPatternSphere = 43, msoPatternWeave = 44, msoPatternDottedGrid = 45, msoPatternDivot = 46, msoPatternShingle = 47, msoPatternWave = 48, msoPatternHorizontal = 49, msoPatternVertical = 50, msoPatternCross = 51, msoPatternDownwardDiagonal = 52, msoPatternUpwardDiagonal = 53, msoPatternDiagonalCross = 54
};

enum MsoGradientStyle {
	msoGradientMixed = -2, msoGradientHorizontal = 1, msoGradientVertical = 2, msoGradientDiagonalUp = 3, msoGradientDiagonalDown = 4, msoGradientFromCorner = 5, msoGradientFromTitle = 6, msoGradientFromCenter = 7
};

enum MsoPresetTexture {
	msoPresetTextureMixed = -2, msoTexturePapyrus = 1, msoTextureCanvas = 2, msoTextureDenim = 3, msoTextureWovenMat = 4, msoTextureWaterDroplets = 5, msoTexturePaperBag = 6, msoTextureFishFossil = 7, msoTextureSand = 8, msoTextureGreenMarble = 9, msoTextureWhiteMarble = 10, msoTextureBrownMarble = 11, msoTextureGranite = 12, msoTextureNewsprint = 13, msoTextureRecycledPaper = 14, msoTextureParchment = 15, msoTextureStationery = 16, msoTextureBlueTissuePaper = 17, msoTexturePinkTissuePaper = 18, msoTexturePurpleMesh = 19, msoTextureBouquet = 20, msoTextureCork = 21, msoTextureWalnut = 22, msoTextureOak = 23, msoTextureMediumWood = 24
};

enum MsoPresetGradientType {
	msoPresetGradientMixed = -2, msoGradientEarlySunset = 1, msoGradientLateSunset = 2, msoGradientNightfall = 3, msoGradientDaybreak = 4, msoGradientHorizon = 5, msoGradientDesert = 6, msoGradientOcean = 7, msoGradientCalmWater = 8, msoGradientFire = 9, msoGradientFog = 10, msoGradientMoss = 11, msoGradientPeacock = 12, msoGradientWheat = 13, msoGradientParchment = 14, msoGradientMahogany = 15, msoGradientRainbow = 16, msoGradientRainbowII = 17, msoGradientGold = 18, msoGradientGoldII = 19, msoGradientBrass = 20, msoGradientChrome = 21, msoGradientChromeII = 22, msoGradientSilver = 23, msoGradientSapphire = 24
};

#endif

#endif